package com.info.zhiduoduo.repository.entity.system;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 手机验证码
 * </p>
 *
 * @author bob
 * @since 2018-12-23
 */
@Data
@Accessors(chain = true)
@TableName("zdd_system_phonecode")
public class SystemPhonecode extends Model<SystemPhonecode> {

    private static final long serialVersionUID = 1L;

    private String phone;
    private String verifycode;
    /**
     * IP地址
     */
    private String ipaddr;
    private Date createtime;


    @Override
    protected Serializable pkVal() {
        return this.phone;
    }

}
